package com.eq.dto;

public class FileItem {
    private String path;
    private String name;
    private long size;
    private long modified;
    private boolean isDirectory;

    public FileItem() {
    }

    public FileItem(String path, String name, long size, long modified, boolean isDirectory) {
        this.path = path;
        this.name = name;
        this.size = size;
        this.modified = modified;
        this.isDirectory = isDirectory;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public long getModified() {
        return modified;
    }

    public void setModified(long modified) {
        this.modified = modified;
    }

    public boolean isDirectory() {
        return isDirectory;
    }

    public void setDirectory(boolean isDirectory) {
        this.isDirectory = isDirectory;
    }
}
